|
|
|
|
OnRestoreButtonClicked Method, SftTabs Class |
Raises the RestoreButtonClicked event.
Syntax SftTabs Class (Softelvdm.SftTabsNET)
VB |
Protected Overridable Sub OnRestoreButtonClicked( ByVal e As EventArgs ) |
C# |
protected virtual void OnRestoreButtonClicked( EventArgs e ); |
C++ |
protected: virtual void OnRestoreButtonClicked( EventArgs^ e ); |
e
An EventArgs that contains the event data.
Comments
The OnRestoreButtonClicked method raises the RestoreButtonClicked event.
Raising an event invokes the event handler through a delegate.
The OnRestoreButtonClicked method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.
When overriding OnRestoreButtonClicked in a derived class, make sure to call the base class's OnRestoreButtonClicked method so that registered delegates receive the event.